package com.young.mybatis.mapper;

import com.young.mybatis.entity.Blog;
import org.apache.ibatis.cursor.Cursor;
import org.apache.ibatis.session.ResultHandler;

public interface BlogMapper {

    Blog selectBlogById(Integer id);

    Cursor<Blog> selectBlogByCursor();

   void selectAll(ResultHandler<Blog> resultHandler);
}
